package com.dongdongshop.service;

import com.dongdongshop.data.PageBean;
import com.dongdongshop.pojo.TbBrand;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbTypeTemplate;

import java.util.List;

public interface TemplateService {

    List<TbBrand> getBrandList();

    List<TbSpecification> getSpecList();

    PageBean<TbTypeTemplate> getTemplateInfo(Integer pageNumber, Integer pageSize, String name);

    void addTemplate(TbTypeTemplate template);

    void deleteAll(Long[] ids);

    TbTypeTemplate getOneTemplate(Long id);

    void deleteTemplate(Long id);

    void updateTemplate(TbTypeTemplate template);

    TbTypeTemplate getOneType(Long typeId);
}
